package com.home766.service;

import com.home766.entity.Cases;
import net.biz.Page;
import net.biz.Pageable;
import net.biz.service.BaseService;

import java.util.List;

public interface CasesService  extends BaseService<Cases,Long> {
	/***
	 * 案例列表查询
	 * @param cases
	 * @param pageable
	 * @return
	 */
	public Page<Cases> getCasesList(Cases cases, Pageable pageable, String properties);
	/***
	 * 案例轮播
	 * @param cases
	 * @param pageable
	 * @return
	 */
	public List<Cases> getCasesList();
	/***
	 * 查询单个案例
	 * @param id
	 * @return
	 */
	public Cases getCases(Long id);
	/***
	 * 更多案例
	 * @param cases
	 * @param pageable
	 * @return
	 */
	public Page<Cases> getShopCasesList(Cases cases, Pageable pageable);
	/***
	 * 得到所有的户型
	 * @return
	 */
/*	public List<DictionaryValue> getValue();*/
}
